package com.wn.cl.park.service;

import com.wn.cl.park.model.dto.PayRequest;
import com.wn.cl.park.model.entity.Payments;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yellow docker
 * @since 2025-03-11
 */
public interface IPaymentsService extends IService<Payments> {

    /**
     * 支付订单
     */
    String pay(PayRequest request);

    void aliPayNotify(HttpServletRequest request);

    /**
     * 更新订单的状态
     *
     * @param orderId 订单ID
     * @param status  订单状态
     */



}
